package com.zgw.his.emr.model;

import java.util.ArrayList;
import java.util.List;

public class MedicalRecord implements IRecord {
	MedicalRecord parent;
	private List<MedicalRecord> childs = new ArrayList<MedicalRecord>();

	public boolean isRoot() {
		return false;
	}

	public MedicalRecord getParent() {
		return parent;
	}

	public List<MedicalRecord> getChilds() {
		return childs;
	}

	public void addChild(MedicalRecord record) {
		this.childs.add(record);
	}
}
